
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>数据提交</title>
</head>
<body>
    <form action="/ELServlet" method="post">
        <p>
            用户名:<input type="text" name="user">
        </p>
        <p>
            密码:<input type="password" name="pwd"/>
        </p>
        <p>
            爱好:<input type="checkbox" name="hobby" value="看书">看书
            <input type="checkbox" name="hobby" value="看电视">看电视
            <input type="checkbox" name="hobby" value="玩游戏">玩游戏
            <input type="checkbox" name="hobby" value="游泳">游泳
            <input type="checkbox" name="hobby" value="旅游">旅游
        </p>
        <p>
            <input type="submit" value="提交"/>
        </p>
    </form>
</body>
</html>
